﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.AutoMapper;
using FwProject.Core.FactoryInfo;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace FwProject.FactoryInfo.Dto
{
    [AutoMap(typeof(FactoryNameInfo))]
   public class FactoryNameInfoInput
    {
        /// <summary>
        /// 工厂名称
        /// </summary>
        /// <value>The name of the factory.</value>
        [Required(ErrorMessage ="{0}不能为空")]
        [StringLength(FactoryNameInfo.MaxStringLength,ErrorMessage = "不能超过{1}个字符")]
        [Display(Name = "工厂名称")]
        public string FactoryName { get; set; }
    }
}
